搜索资源列表
编译原理及实践
- 目 录 译者序 前言 第1章 概论 1 1.1 为什么要用编译器 2 1.2 与编译器相关的程序 3 1.3 翻译步骤 5 1.4 编译器中的主要数据结构 8 1.5 编译器结构中的其他问题 10 1.6 &
C_Minus
- 一个使用lex/yacc的小型C编译器- Uses lex/yacc the small C compiler
cscanner
- 一个使用Lex编写的C语言词法加亮的小程序。能将指定的C源程序进行词法加亮,并以HTML文件的格式输出。 由Lex的C语言词法分析程序,然后使用VC编译,内附较详细的使用说明。-Lex prepared to use a C-plus morphology of small programs. Can designated source for the C-plus morphology, and the HTML file format. Lex from the C language lex
ansi_lex
- 标准C的词法分析的Lex文件,可以用lex来 编译生成标准C的词法分析部分-standard C lexical analysis Lex documents can be used to lex standard C compiler generation of lexical analysis
ansi_yacc
- 标准C的语法分析的yacc文件,可以用bison 等语法分析生成器编译,生成标准C的语法 分析部分,可以和前面的Lex部分组成C编译 器的前端-standard C syntax analysis generates a file that can be used, such as bison syntax analysis compiler generator, generate standard C syntax analysis, and can in front of Lex
fbcc.tar
- c编译器实现,利用lex yacc写的简单编译器-achieved using lex generates write a simple compiler
20051121
- 利用 lex 和yacc自动生成C语言子集的词法分析和语法分析程序的源程序-using lex and generates automatic generation of C language subset of lexical analysis and parsing the source code of procedure
20051124
- 用于lex和yacc的c++及c语言的文法,可用来构造C++语言的编译器-for lex and generates a c c language and grammar, can be used to construct the C language compiler
zyy
- 这是一个c++环境下的模拟文件系统的部分源代码,支持词法分析,其中用到头文件#Include \"lex.h\"-c This is a simulated environment of the file system source code, support for lexical analysis, which uses the first document # Include "lex.h"
tge
- C语言前端编译器,yacc/lex编写,可自行修改代码.-C language compiler front-end, generates / lex preparation, may modify the code.
2_lex
- 从网上下载lex工具源代码,并对其进行反复修改 使其能按我们的要求对C程序进行词法分析,然后输出我们期望的结果 -downloaded from the Internet tools lex source code, and it has repeatedly revised to enable it to us by the requirements of the C procedures lexical analysis, and then output the results we
yylex
- 使用lex生成的c++代码,对理解编译原理的lex编程有一定的帮助-use lex generated c code, the compiler understands the principle of lex program will help
Lex_Yacc_Parser
- 语法分析器lex和词法分析器yacc的C++语言实现 1.Lex (1)Lex输入文件的解析 (2)正规表达式的解析 (3)一个正规表达式到NFA的转换算法实现 (4)多个NFA的合并 (5)NFA的确定化和最小化算法实现 (6)返回状态与返回内容的对应 2.Yacc (1)Yacc输入文件的解析 (2)上下文无关文法到对应LR(1)文法的下推自动机的构造 (3)LR(1)文法的下推自动机到相应分析表的构造 (4)LR(1)总控程序的构造(查表程
LexSeu
- 东南大学 课程设计 lex部分 说 明 **本次实验在Visual C++6.0环境下开发** 主要有以下文件: 1 词法分析器 lex.cpp 2 头文件 lex.h 3 测试文件 lex.l.txt lex工具的使用方法 编译运行 lex.cpp/lex.h,这样就将lex.l.txt转换成Cpp语言程序yylex.cpp 然后使用VC++6.0将lexyy.cpp编译成可执行程序, 这样就识别出了lex.l.t
compiler([1].netstl)
- (1) 给定一段符合Pascal子集语法的语言,能成功转换成C语言; (2) 一个简单的说明文档; (3) 2007.7.14之前上传到ftp:// C07:C07@10.11.3.71/upload,用学号建立自己的目录; (4) (可额外加分5分)若有出错处理功能,请在说明文档中写明可以处理哪几项错误。 注意事项: (1) 两人一组 (2) 可以使用词法、语法自动生成工具,windows下有Flex,Bison,Linux下有Lex,Yacc,Java的有Jlex,J
minus_C_by_Lex_Yacc
- 用lex和yacc解析的超牛C minus 编译器
ansic_lex_yacc
- ANSI C的标准词法描述和文法描述,使用lex和yacc即可编译出可用的C语言源代码,通过这两个描述文档,即可实现最简单的C语法解析器。
Yacc1824_ref_951
- Yacc说明及使用文档 yacc(Yet Another Compiler Compiler),是Unix/Linux上一个用来生成编译器的编译器(编译器代码生成器)。yacc生成的编译器主要是用C語言寫成的语法解析器(Parser),需要与词法解析器Lex一起使用,再把兩部份產生出來的C程序一併編譯。yacc本來只在Unix系統上才有,但現時已普遍移植往Windows及其他平台。
pascal
- 1.通过实验进一步理解和掌握词法分析器的工作原理 2.熟悉C语言环境编程 3.熟悉LEX软件的使用
222
- 用LEX自动生成的C-词法分析程序 (能识别注释)